package com.waves.spring.boot.autoConfiguration;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Arrays;

/**
 * 将bean1注入
 */
public class Config1 {


//    @Bean
    public Bean1 getBean1() {
        return new Bean1();
    }


}

